package com.aacar.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.aacar.dao.CarSeriesDao;
import com.aacar.dao.base.CommonBaseDao;
import com.aacar.entity.CarSeriesType;
import com.aacar.vo.CarSeriesTypeVo;

/**
 * 车系
 * @author wangh
 *
 */
@Repository("carSeriesDao")
public class CarSeriesDaoImpl extends CommonBaseDao implements CarSeriesDao{
	
	private static final String nameSpace = "com.aacar.dao.CarSeriesDao.";
	
	@Override
	public List<CarSeriesTypeVo> getCarSeriesType(CarSeriesType cst) {
		return super.getSqlSession().selectList(nameSpace.concat("getCarSeriesType"),cst);
	}

	@Override
	public List<CarSeriesTypeVo> getSeriesByName(CarSeriesType cst) {
		// TODO Auto-generated method stub
		return super.getSqlSession().selectList(nameSpace.concat("getSeriesByName"),cst);
	}
	
	
}
